package com.ruoyi.crm.crawling.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据抓取对象 crm_crawling
 * 
 * @author ruoyi
 * @date 2021-08-31
 */
public class CrmCrawling extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 需求名称 */
    @Excel(name = "需求名称")
    private String demandName;

    /** 发布人 */
    @Excel(name = "发布人")
    private String publisher;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /** 概述 */
    @Excel(name = "概述")
    private String summary;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date starttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 需求内容 */
    @Excel(name = "需求内容")
    private String demandContent;

    /** 需求预算 */
    private String demandBudget;

    /** 采购单位 */
    @Excel(name = "采购单位")
    private String buyingUnit;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactsTel;

    /** 代理机构 */
    @Excel(name = "代理机构")
    private String agency;

    /** 代理机构地址 */
    @Excel(name = "代理机构地址")
    private String agencyAddress;

    /** 代理机构联系人 */
    @Excel(name = "代理机构联系人")
    private String agencyContacts;

    /** 代理机构联系人联系方式 */
    @Excel(name = "代理机构联系人联系方式")
    private String agencyContactsTel;

    /** 附件 */
    @Excel(name = "附件")
    private String annex;

    /** 原文URL */
    @Excel(name = "原文URL")
    private String url;

    /** 地区 */
    @Excel(name = "地区")
    private String region;
    
    /** 预计采购时间 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "预计采购时间")
    private Date estimateTime;

    /** 有效标识 1：有效  0：无效 */
    private String valid;
    
    

    public Date getEstimateTime() {
		return estimateTime;
	}

	public void setEstimateTime(Date estimateTime) {
		this.estimateTime = estimateTime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDemandName(String demandName) 
    {
        this.demandName = demandName;
    }

    public String getDemandName() 
    {
        return demandName;
    }
    public void setPublisher(String publisher) 
    {
        this.publisher = publisher;
    }

    public String getPublisher() 
    {
        return publisher;
    }
    public void setPublishTime(Date publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime() 
    {
        return publishTime;
    }
    public void setSummary(String summary) 
    {
        this.summary = summary;
    }

    public String getSummary() 
    {
        return summary;
    }
    public void setStarttime(Date starttime) 
    {
        this.starttime = starttime;
    }

    public Date getStarttime() 
    {
        return starttime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setDemandContent(String demandContent) 
    {
        this.demandContent = demandContent;
    }

    public String getDemandContent() 
    {
        return demandContent;
    }
    public void setDemandBudget(String demandBudget) 
    {
        this.demandBudget = demandBudget;
    }

    public String getDemandBudget() 
    {
        return demandBudget;
    }
    public void setBuyingUnit(String buyingUnit) 
    {
        this.buyingUnit = buyingUnit;
    }

    public String getBuyingUnit() 
    {
        return buyingUnit;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setContactsTel(String contactsTel) 
    {
        this.contactsTel = contactsTel;
    }

    public String getContactsTel() 
    {
        return contactsTel;
    }
    public void setAgency(String agency) 
    {
        this.agency = agency;
    }

    public String getAgency() 
    {
        return agency;
    }
    public void setAgencyAddress(String agencyAddress) 
    {
        this.agencyAddress = agencyAddress;
    }

    public String getAgencyAddress() 
    {
        return agencyAddress;
    }
    public void setAgencyContacts(String agencyContacts) 
    {
        this.agencyContacts = agencyContacts;
    }

    public String getAgencyContacts() 
    {
        return agencyContacts;
    }
    public void setAgencyContactsTel(String agencyContactsTel) 
    {
        this.agencyContactsTel = agencyContactsTel;
    }

    public String getAgencyContactsTel() 
    {
        return agencyContactsTel;
    }
    public void setAnnex(String annex) 
    {
        this.annex = annex;
    }

    public String getAnnex() 
    {
        return annex;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setValid(String valid) 
    {
        this.valid = valid;
    }

    public String getValid() 
    {
        return valid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("demandName", getDemandName())
            .append("publisher", getPublisher())
            .append("publishTime", getPublishTime())
            .append("summary", getSummary())
            .append("starttime", getStarttime())
            .append("endtime", getEndtime())
            .append("demandContent", getDemandContent())
            .append("demandBudget", getDemandBudget())
            .append("buyingUnit", getBuyingUnit())
            .append("address", getAddress())
            .append("contacts", getContacts())
            .append("contactsTel", getContactsTel())
            .append("agency", getAgency())
            .append("agencyAddress", getAgencyAddress())
            .append("agencyContacts", getAgencyContacts())
            .append("agencyContactsTel", getAgencyContactsTel())
            .append("annex", getAnnex())
            .append("url", getUrl())
            .append("region", getRegion())
            .append("valid", getValid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
